package com.jt.demo53;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Cat {
    @Autowired
    private Pig pig;
    public void ss(){
        pig.hello();
    }
}
